package com.trimps.wifi.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.trimps.wifi.mapper.CartogramDataMapper;
import com.trimps.wifi.service.CartogramDataService;

@Service("CartogramDataService")
public class CartogramDataServiceImpl implements CartogramDataService {
	@Autowired
	private CartogramDataMapper cartogramDataMapper;	

	@Override
    public List<Map<String, Object>> getCartogramData(String deviceNo, String selectDate) {
        return this.cartogramDataMapper.getCartogramData(deviceNo,selectDate);
    }

    @Override
    public int getCartogramDataCount(String deviceNo, String selectDate) {
        return this.cartogramDataMapper.getCartogramDataCount(deviceNo,selectDate);
    }

}
